<!DOCTYPE HTML>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, initial-scale=1.0, width=device-width"/>
        <meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
        <title>统战成员学习平台</title>
	    <link rel="stylesheet" type="text/css" href="../../css/base.css" />
        <link rel="stylesheet" type="text/css" href="../../css/style.css" />
    </head>
    <body>
      <div id='app' style="display:none" v-show="true">
        <header class="red">
            <div class="ui_border_b">
                <span tapmode @click="closeToPlanList()" class="left"><i class="icon_back_white"></i></span>
                <p>{{scheduleName}}</p>
            </div>
    	  </header>
      </div>
        <script type="text/javascript" src="../../script/api.js"></script>
		    <script type="text/javascript" src="../../script/vue.min.js"></script>
        <script type="text/javascript" src="../../script/common.js"></script>
        <script type="text/javascript" src="../../script/layer_mobile/layer.js"></script>
        <script type="text/javascript">
            new Vue({
            el: '#app',
              data: {
                scheduleId:0,
                scheduleName:''
              },
            mounted: function() {
                  var $this = this;
                  apiready = function(){
                      $this.scheduleId = api.pageParam.scheduleId;
                      $this.scheduleName = api.pageParam.scheduleName;
                      api.addEventListener({
                          name: 'keyback'
                      }, function(ret, err){
                        $this.closeToPlanList();
                      });
                      api.parseTapmode();
                      openfrmFromWin({
                          frmName: 'plan_details_frm',
                          bounces: true,
                          pageParam: api.pageParam
                      });
                  }
              },
    		    	methods: {
                closeToPlanList: function(){
                  var $this = this;
                  api.sendEvent({
                      name: 'reloadPlanList'
                  });
                  closeWin();
                }
              }
            });
        </script>
    </body>
</html>
